﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabSales_Order
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? title { get; set; }
        public string? naming_series { get; set; }
        public string? customer { get; set; }
        public string? customer_name { get; set; }
        public string? tax_id { get; set; }
        public string? order_type { get; set; }
        public DateOnly? transaction_date { get; set; }
        public DateOnly? delivery_date { get; set; }
        public string? po_no { get; set; }
        public DateOnly? po_date { get; set; }
        public string? company { get; set; }
        public int skip_delivery_note { get; set; }
        public string? amended_from { get; set; }
        public string? cost_center { get; set; }
        public string? project { get; set; }
        public string? currency { get; set; }
        public decimal conversion_rate { get; set; }
        public string? selling_price_list { get; set; }
        public string? price_list_currency { get; set; }
        public decimal plc_conversion_rate { get; set; }
        public int ignore_pricing_rule { get; set; }
        public string? scan_barcode { get; set; }
        public string? set_warehouse { get; set; }
        public decimal total_qty { get; set; }
        public decimal total_net_weight { get; set; }
        public decimal base_total { get; set; }
        public decimal base_net_total { get; set; }
        public decimal total { get; set; }
        public decimal net_total { get; set; }
        public string? tax_category { get; set; }
        public string? taxes_and_charges { get; set; }
        public string? shipping_rule { get; set; }
        public string? incoterm { get; set; }
        public string? named_place { get; set; }
        public decimal base_total_taxes_and_charges { get; set; }
        public decimal total_taxes_and_charges { get; set; }
        public decimal base_grand_total { get; set; }
        public decimal base_rounding_adjustment { get; set; }
        public decimal base_rounded_total { get; set; }
        public string? base_in_words { get; set; }
        public decimal grand_total { get; set; }
        public decimal rounding_adjustment { get; set; }
        public decimal rounded_total { get; set; }
        public string? in_words { get; set; }
        public decimal advance_paid { get; set; }
        public int disable_rounded_total { get; set; }
        public string? apply_discount_on { get; set; }
        public decimal base_discount_amount { get; set; }
        public string? coupon_code { get; set; }
        public decimal additional_discount_percentage { get; set; }
        public decimal discount_amount { get; set; }
        public string? other_charges_calculation { get; set; }
        public string? customer_address { get; set; }
        public string? address_display { get; set; }
        public string? customer_group { get; set; }
        public string? territory { get; set; }
        public string? contact_person { get; set; }
        public string? contact_display { get; set; }
        public string? contact_phone { get; set; }
        public string? contact_mobile { get; set; }
        public string? contact_email { get; set; }
        public string? shipping_address_name { get; set; }
        public string? shipping_address { get; set; }
        public string? dispatch_address_name { get; set; }
        public string? dispatch_address { get; set; }
        public string? company_address { get; set; }
        public string? company_address_display { get; set; }
        public string? payment_terms_template { get; set; }
        public string? tc_name { get; set; }
        public string? terms { get; set; }
        public string? status { get; set; }
        public string? delivery_status { get; set; }
        public decimal per_delivered { get; set; }
        public decimal per_billed { get; set; }
        public decimal per_picked { get; set; }
        public string? billing_status { get; set; }
        public string? sales_partner { get; set; }
        public decimal amount_eligible_for_commission { get; set; }
        public decimal commission_rate { get; set; }
        public decimal total_commission { get; set; }
        public int loyalty_points { get; set; }
        public decimal loyalty_amount { get; set; }
        public DateOnly? from_date { get; set; }
        public DateOnly? to_date { get; set; }
        public string? auto_repeat { get; set; }
        public string? letter_head { get; set; }
        public int group_same_items { get; set; }
        public string? select_print_heading { get; set; }
        public string? language { get; set; }
        public int is_internal_customer { get; set; }
        public string? represents_company { get; set; }
        public string? source { get; set; }
        public string? inter_company_order_reference { get; set; }
        public string? campaign { get; set; }
        public string? party_account_currency { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
        public string? _seen { get; set; }
    }
}
